<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
<title>SpannedSubject (ExoPlayer library)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="SpannedSubject (ExoPlayer library)";
        }
    }
    catch(err) {
    }
//-->
var data = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../../";
var useModuleDirectories = false;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">com.google.android.exoplayer2.testutil.truth</a></div>
<h2 title="Class SpannedSubject" class="title">Class SpannedSubject</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.google.common.truth.Subject</li>
<li>
<ul class="inheritance">
<li>com.google.android.exoplayer2.testutil.truth.SpannedSubject</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public final class <span class="typeNameLabel">SpannedSubject</span>
extends com.google.common.truth.Subject</pre>
<div class="block">A Truth <code>Subject</code> for assertions on <a href="https://developer.android.com/reference/android/text/Spanned.html" title="class or interface in android.text" class="externalLink" target="_top"><code>Spanned</code></a> instances containing text styling.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!--   -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SpannedSubject.AbsoluteSized.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.AbsoluteSized</a></span></code></th>
<td class="colLast">
<div class="block">Allows assertions about the absolute size of a span.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SpannedSubject.Aligned.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.Aligned</a></span></code></th>
<td class="colLast">
<div class="block">Allows assertions about the alignment of a span.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SpannedSubject.AndSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.AndSpanFlags</a></span></code></th>
<td class="colLast">
<div class="block">Allows additional assertions to be made on the flags of matching spans.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SpannedSubject.Colored.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.Colored</a></span></code></th>
<td class="colLast">
<div class="block">Allows assertions about the color of a span.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SpannedSubject.EmphasizedText.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.EmphasizedText</a></span></code></th>
<td class="colLast">
<div class="block">Allows assertions about a span's text emphasis mark and its position.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SpannedSubject.RelativeSized.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.RelativeSized</a></span></code></th>
<td class="colLast">
<div class="block">Allows assertions about the relative size of a span.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SpannedSubject.RubyText.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.RubyText</a></span></code></th>
<td class="colLast">
<div class="block">Allows assertions about a span's ruby text and its position.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SpannedSubject.Typefaced.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.Typefaced</a></span></code></th>
<td class="colLast">
<div class="block">Allows assertions about the typeface of a span.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.WithSpanFlags</a></span></code></th>
<td class="colLast">
<div class="block">Allows additional assertions to be made on the flags of matching spans.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.com.google.common.truth.Subject">
<!--   -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;com.google.common.truth.Subject</h3>
<code>com.google.common.truth.Subject.Factory&lt;SubjectT extends com.google.common.truth.Subject,&#8203;ActualT extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a>&gt;</code></li>
</ul>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href="SpannedSubject.html" title="class in com.google.android.exoplayer2.testutil.truth">SpannedSubject</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#assertThat(android.text.Spanned)">assertThat</a></span>&#8203;(<a href="https://developer.android.com/reference/android/text/Spanned.html" title="class or interface in android.text" class="externalLink" target="_top">Spanned</a>&nbsp;spanned)</code></th>
<td class="colLast">
<div class="block">Convenience method to create a SpannedSubject.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="SpannedSubject.AbsoluteSized.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.AbsoluteSized</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasAbsoluteSizeSpanBetween(int,int)">hasAbsoluteSizeSpanBetween</a></span>&#8203;(int&nbsp;start,
                          int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has a <a href="https://developer.android.com/reference/android/text/style/AbsoluteSizeSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>AbsoluteSizeSpan</code></a> from <code>start</code> to <code>end</code>.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="SpannedSubject.Aligned.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.Aligned</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasAlignmentSpanBetween(int,int)">hasAlignmentSpanBetween</a></span>&#8203;(int&nbsp;start,
                       int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has a <a href="https://developer.android.com/reference/android/text/style/AlignmentSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>AlignmentSpan</code></a> from <code>start</code> to <code>end</code>.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="SpannedSubject.Colored.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.Colored</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasBackgroundColorSpanBetween(int,int)">hasBackgroundColorSpanBetween</a></span>&#8203;(int&nbsp;start,
                             int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has a <a href="https://developer.android.com/reference/android/text/style/BackgroundColorSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>BackgroundColorSpan</code></a> from <code>start</code> to <code>end</code>.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.WithSpanFlags</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasBoldItalicSpanBetween(int,int)">hasBoldItalicSpanBetween</a></span>&#8203;(int&nbsp;start,
                        int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has bold and italic styling from <code>start</code> to <code>end</code>.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.WithSpanFlags</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasBoldSpanBetween(int,int)">hasBoldSpanBetween</a></span>&#8203;(int&nbsp;start,
                  int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has a bold span from <code>start</code> to <code>end</code>.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="SpannedSubject.Colored.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.Colored</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasForegroundColorSpanBetween(int,int)">hasForegroundColorSpanBetween</a></span>&#8203;(int&nbsp;start,
                             int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has a <a href="https://developer.android.com/reference/android/text/style/ForegroundColorSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>ForegroundColorSpan</code></a> from <code>start</code> to <code>end</code>.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.WithSpanFlags</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasHorizontalTextInVerticalContextSpanBetween(int,int)">hasHorizontalTextInVerticalContextSpanBetween</a></span>&#8203;(int&nbsp;start,
                                             int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has an <a href="../../text/span/HorizontalTextInVerticalContextSpan.html" title="class in com.google.android.exoplayer2.text.span"><code>HorizontalTextInVerticalContextSpan</code></a> from <code>start</code>
 to <code>end</code>.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.WithSpanFlags</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasItalicSpanBetween(int,int)">hasItalicSpanBetween</a></span>&#8203;(int&nbsp;start,
                    int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has an italic span from <code>start</code> to <code>end</code>.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNoAbsoluteSizeSpanBetween(int,int)">hasNoAbsoluteSizeSpanBetween</a></span>&#8203;(int&nbsp;start,
                            int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/AbsoluteSizeSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>AbsoluteSizeSpan</code></a>s on any of the text between <code>
 start</code> and <code>end</code>.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNoAlignmentSpanBetween(int,int)">hasNoAlignmentSpanBetween</a></span>&#8203;(int&nbsp;start,
                         int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/AlignmentSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>AlignmentSpan</code></a>s on any of the text between <code>start</code>
 and <code>end</code>.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNoBackgroundColorSpanBetween(int,int)">hasNoBackgroundColorSpanBetween</a></span>&#8203;(int&nbsp;start,
                               int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/BackgroundColorSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>BackgroundColorSpan</code></a>s on any of the text between <code>
 start</code> and <code>end</code>.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNoForegroundColorSpanBetween(int,int)">hasNoForegroundColorSpanBetween</a></span>&#8203;(int&nbsp;start,
                               int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/ForegroundColorSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>ForegroundColorSpan</code></a>s on any of the text between <code>
 start</code> and <code>end</code>.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNoHorizontalTextInVerticalContextSpanBetween(int,int)">hasNoHorizontalTextInVerticalContextSpanBetween</a></span>&#8203;(int&nbsp;start,
                                               int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has no <a href="../../text/span/HorizontalTextInVerticalContextSpan.html" title="class in com.google.android.exoplayer2.text.span"><code>HorizontalTextInVerticalContextSpan</code></a>s on any of the text
 between <code>start</code> and <code>end</code>.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNoRelativeSizeSpanBetween(int,int)">hasNoRelativeSizeSpanBetween</a></span>&#8203;(int&nbsp;start,
                            int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/RelativeSizeSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>RelativeSizeSpan</code></a>s on any of the text between <code>
 start</code> and <code>end</code>.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNoRubySpanBetween(int,int)">hasNoRubySpanBetween</a></span>&#8203;(int&nbsp;start,
                    int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has no <a href="../../text/span/RubySpan.html" title="class in com.google.android.exoplayer2.text.span"><code>RubySpan</code></a>s on any of the text between <code>start</code> and
 <code>end</code>.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNoSpans()">hasNoSpans</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNoStrikethroughSpanBetween(int,int)">hasNoStrikethroughSpanBetween</a></span>&#8203;(int&nbsp;start,
                             int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/StrikethroughSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>StrikethroughSpan</code></a>s on any of the text between <code>
 start</code> and <code>end</code>.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNoStyleSpanBetween(int,int)">hasNoStyleSpanBetween</a></span>&#8203;(int&nbsp;start,
                     int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/StyleSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>StyleSpan</code></a>s on any of the text between <code>start</code> and
 <code>end</code>.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNoTextEmphasisSpanBetween(int,int)">hasNoTextEmphasisSpanBetween</a></span>&#8203;(int&nbsp;start,
                            int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has no <a href="../../text/span/TextEmphasisSpan.html" title="class in com.google.android.exoplayer2.text.span"><code>TextEmphasisSpan</code></a>s on any of the text between <code>
 start</code> and <code>end</code>.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNoTypefaceSpanBetween(int,int)">hasNoTypefaceSpanBetween</a></span>&#8203;(int&nbsp;start,
                        int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/TypefaceSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>TypefaceSpan</code></a>s on any of the text between <code>start</code>
 and <code>end</code>.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasNoUnderlineSpanBetween(int,int)">hasNoUnderlineSpanBetween</a></span>&#8203;(int&nbsp;start,
                         int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/UnderlineSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>UnderlineSpan</code></a>s on any of the text between <code>start</code>
 and <code>end</code>.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="SpannedSubject.RelativeSized.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.RelativeSized</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasRelativeSizeSpanBetween(int,int)">hasRelativeSizeSpanBetween</a></span>&#8203;(int&nbsp;start,
                          int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has a <a href="https://developer.android.com/reference/android/text/style/RelativeSizeSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>RelativeSizeSpan</code></a> from <code>start</code> to <code>end</code>.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="SpannedSubject.RubyText.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.RubyText</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasRubySpanBetween(int,int)">hasRubySpanBetween</a></span>&#8203;(int&nbsp;start,
                  int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has a <a href="../../text/span/RubySpan.html" title="class in com.google.android.exoplayer2.text.span"><code>RubySpan</code></a> from <code>start</code> to <code>end</code>.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.WithSpanFlags</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasStrikethroughSpanBetween(int,int)">hasStrikethroughSpanBetween</a></span>&#8203;(int&nbsp;start,
                           int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has an <a href="https://developer.android.com/reference/android/text/style/StrikethroughSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>StrikethroughSpan</code></a> from <code>start</code> to <code>end</code>.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="SpannedSubject.EmphasizedText.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.EmphasizedText</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasTextEmphasisSpanBetween(int,int)">hasTextEmphasisSpanBetween</a></span>&#8203;(int&nbsp;start,
                          int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has an <a href="../../text/span/TextEmphasisSpan.html" title="class in com.google.android.exoplayer2.text.span"><code>TextEmphasisSpan</code></a> from <code>start</code> to <code>end</code>.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="SpannedSubject.Typefaced.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.Typefaced</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasTypefaceSpanBetween(int,int)">hasTypefaceSpanBetween</a></span>&#8203;(int&nbsp;start,
                      int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has a <a href="https://developer.android.com/reference/android/text/style/TypefaceSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>TypefaceSpan</code></a> from <code>start</code> to <code>end</code>.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.WithSpanFlags</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasUnderlineSpanBetween(int,int)">hasUnderlineSpanBetween</a></span>&#8203;(int&nbsp;start,
                       int&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Checks that the subject has an <a href="https://developer.android.com/reference/android/text/style/UnderlineSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>UnderlineSpan</code></a> from <code>start</code> to <code>end</code>.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>static com.google.common.truth.Subject.Factory&lt;<a href="SpannedSubject.html" title="class in com.google.android.exoplayer2.testutil.truth">SpannedSubject</a>,&#8203;<a href="https://developer.android.com/reference/android/text/Spanned.html" title="class or interface in android.text" class="externalLink" target="_top">Spanned</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#spanned()">spanned</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.com.google.common.truth.Subject">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;com.google.common.truth.Subject</h3>
<code>actualCustomStringRepresentation, check, equals, failWithActual, failWithActual, failWithoutActual, hashCode, ignoreCheck, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameInstanceAs, isNull, isSameInstanceAs, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a id="spanned()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>spanned</h4>
<pre class="methodSignature">public static&nbsp;com.google.common.truth.Subject.Factory&lt;<a href="SpannedSubject.html" title="class in com.google.android.exoplayer2.testutil.truth">SpannedSubject</a>,&#8203;<a href="https://developer.android.com/reference/android/text/Spanned.html" title="class or interface in android.text" class="externalLink" target="_top">Spanned</a>&gt;&nbsp;spanned()</pre>
</li>
</ul>
<a id="assertThat(android.text.Spanned)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assertThat</h4>
<pre class="methodSignature">public static&nbsp;<a href="SpannedSubject.html" title="class in com.google.android.exoplayer2.testutil.truth">SpannedSubject</a>&nbsp;assertThat&#8203;(@Nullable
                                        <a href="https://developer.android.com/reference/android/text/Spanned.html" title="class or interface in android.text" class="externalLink" target="_top">Spanned</a>&nbsp;spanned)</pre>
<div class="block">Convenience method to create a SpannedSubject.

 <p>Can be statically imported alongside other Truth <code>assertThat</code> methods.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>spanned</code> - The subject under test.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An object for conducting assertions on the subject.</dd>
</dl>
</li>
</ul>
<a id="hasNoSpans()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNoSpans</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;hasNoSpans()</pre>
</li>
</ul>
<a id="hasItalicSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasItalicSpanBetween</h4>
<pre class="methodSignature">public&nbsp;<a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.WithSpanFlags</a>&nbsp;hasItalicSpanBetween&#8203;(int&nbsp;start,
                                                         int&nbsp;end)</pre>
<div class="block">Checks that the subject has an italic span from <code>start</code> to <code>end</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start of the expected span.</dd>
<dd><code>end</code> - The end of the expected span.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.WithSpanFlags</code></a> object for optional additional assertions on the flags.</dd>
</dl>
</li>
</ul>
<a id="hasBoldSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasBoldSpanBetween</h4>
<pre class="methodSignature">public&nbsp;<a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.WithSpanFlags</a>&nbsp;hasBoldSpanBetween&#8203;(int&nbsp;start,
                                                       int&nbsp;end)</pre>
<div class="block">Checks that the subject has a bold span from <code>start</code> to <code>end</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start of the expected span.</dd>
<dd><code>end</code> - The end of the expected span.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.WithSpanFlags</code></a> object for optional additional assertions on the flags.</dd>
</dl>
</li>
</ul>
<a id="hasBoldItalicSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasBoldItalicSpanBetween</h4>
<pre class="methodSignature">public&nbsp;<a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.WithSpanFlags</a>&nbsp;hasBoldItalicSpanBetween&#8203;(int&nbsp;start,
                                                             int&nbsp;end)</pre>
<div class="block">Checks that the subject has bold and italic styling from <code>start</code> to <code>end</code>.

 <p>This can either be:

 <ul>
   <li>A single <a href="https://developer.android.com/reference/android/text/style/StyleSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>StyleSpan</code></a> with <code>span.getStyle() == Typeface.BOLD_ITALIC</code>.
   <li>Two <a href="https://developer.android.com/reference/android/text/style/StyleSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>StyleSpan</code></a>s, one with <code>span.getStyle() == Typeface.BOLD</code> and the other
       with <code>span.getStyle() == Typeface.ITALIC</code>.
 </ul></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start of the expected span.</dd>
<dd><code>end</code> - The end of the expected span.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.WithSpanFlags</code></a> object for optional additional assertions on the flags.</dd>
</dl>
</li>
</ul>
<a id="hasNoStyleSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNoStyleSpanBetween</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;hasNoStyleSpanBetween&#8203;(int&nbsp;start,
                                  int&nbsp;end)</pre>
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/StyleSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>StyleSpan</code></a>s on any of the text between <code>start</code> and
 <code>end</code>.

 <p>This fails even if the start and end indexes don't exactly match.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start index to start searching for spans.</dd>
<dd><code>end</code> - The end index to stop searching for spans.</dd>
</dl>
</li>
</ul>
<a id="hasUnderlineSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasUnderlineSpanBetween</h4>
<pre class="methodSignature">public&nbsp;<a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.WithSpanFlags</a>&nbsp;hasUnderlineSpanBetween&#8203;(int&nbsp;start,
                                                            int&nbsp;end)</pre>
<div class="block">Checks that the subject has an <a href="https://developer.android.com/reference/android/text/style/UnderlineSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>UnderlineSpan</code></a> from <code>start</code> to <code>end</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start of the expected span.</dd>
<dd><code>end</code> - The end of the expected span.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.WithSpanFlags</code></a> object for optional additional assertions on the flags.</dd>
</dl>
</li>
</ul>
<a id="hasNoUnderlineSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNoUnderlineSpanBetween</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;hasNoUnderlineSpanBetween&#8203;(int&nbsp;start,
                                      int&nbsp;end)</pre>
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/UnderlineSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>UnderlineSpan</code></a>s on any of the text between <code>start</code>
 and <code>end</code>.

 <p>This fails even if the start and end indexes don't exactly match.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start index to start searching for spans.</dd>
<dd><code>end</code> - The end index to stop searching for spans.</dd>
</dl>
</li>
</ul>
<a id="hasStrikethroughSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasStrikethroughSpanBetween</h4>
<pre class="methodSignature">public&nbsp;<a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.WithSpanFlags</a>&nbsp;hasStrikethroughSpanBetween&#8203;(int&nbsp;start,
                                                                int&nbsp;end)</pre>
<div class="block">Checks that the subject has an <a href="https://developer.android.com/reference/android/text/style/StrikethroughSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>StrikethroughSpan</code></a> from <code>start</code> to <code>end</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start of the expected span.</dd>
<dd><code>end</code> - The end of the expected span.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.WithSpanFlags</code></a> object for optional additional assertions on the flags.</dd>
</dl>
</li>
</ul>
<a id="hasNoStrikethroughSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNoStrikethroughSpanBetween</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;hasNoStrikethroughSpanBetween&#8203;(int&nbsp;start,
                                          int&nbsp;end)</pre>
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/StrikethroughSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>StrikethroughSpan</code></a>s on any of the text between <code>
 start</code> and <code>end</code>.

 <p>This fails even if the start and end indexes don't exactly match.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start index to start searching for spans.</dd>
<dd><code>end</code> - The end index to stop searching for spans.</dd>
</dl>
</li>
</ul>
<a id="hasAlignmentSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasAlignmentSpanBetween</h4>
<pre class="methodSignature">@CheckResult
public&nbsp;<a href="SpannedSubject.Aligned.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.Aligned</a>&nbsp;hasAlignmentSpanBetween&#8203;(int&nbsp;start,
                                                      int&nbsp;end)</pre>
<div class="block">Checks that the subject has a <a href="https://developer.android.com/reference/android/text/style/AlignmentSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>AlignmentSpan</code></a> from <code>start</code> to <code>end</code>.

 <p>The alignment is asserted in a follow-up method call on the return <a href="SpannedSubject.Aligned.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.Aligned</code></a> object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start of the expected span.</dd>
<dd><code>end</code> - The end of the expected span.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="SpannedSubject.Aligned.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.Aligned</code></a> object to assert on the alignment of the matching spans.</dd>
</dl>
</li>
</ul>
<a id="hasNoAlignmentSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNoAlignmentSpanBetween</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;hasNoAlignmentSpanBetween&#8203;(int&nbsp;start,
                                      int&nbsp;end)</pre>
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/AlignmentSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>AlignmentSpan</code></a>s on any of the text between <code>start</code>
 and <code>end</code>.

 <p>This fails even if the start and end indexes don't exactly match.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start index to start searching for spans.</dd>
<dd><code>end</code> - The end index to stop searching for spans.</dd>
</dl>
</li>
</ul>
<a id="hasForegroundColorSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasForegroundColorSpanBetween</h4>
<pre class="methodSignature">@CheckResult
public&nbsp;<a href="SpannedSubject.Colored.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.Colored</a>&nbsp;hasForegroundColorSpanBetween&#8203;(int&nbsp;start,
                                                            int&nbsp;end)</pre>
<div class="block">Checks that the subject has a <a href="https://developer.android.com/reference/android/text/style/ForegroundColorSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>ForegroundColorSpan</code></a> from <code>start</code> to <code>end</code>.

 <p>The color is asserted in a follow-up method call on the return <a href="SpannedSubject.Colored.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.Colored</code></a> object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start of the expected span.</dd>
<dd><code>end</code> - The end of the expected span.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="SpannedSubject.Colored.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.Colored</code></a> object to assert on the color of the matching spans.</dd>
</dl>
</li>
</ul>
<a id="hasNoForegroundColorSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNoForegroundColorSpanBetween</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;hasNoForegroundColorSpanBetween&#8203;(int&nbsp;start,
                                            int&nbsp;end)</pre>
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/ForegroundColorSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>ForegroundColorSpan</code></a>s on any of the text between <code>
 start</code> and <code>end</code>.

 <p>This fails even if the start and end indexes don't exactly match.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start index to start searching for spans.</dd>
<dd><code>end</code> - The end index to stop searching for spans.</dd>
</dl>
</li>
</ul>
<a id="hasBackgroundColorSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasBackgroundColorSpanBetween</h4>
<pre class="methodSignature">@CheckResult
public&nbsp;<a href="SpannedSubject.Colored.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.Colored</a>&nbsp;hasBackgroundColorSpanBetween&#8203;(int&nbsp;start,
                                                            int&nbsp;end)</pre>
<div class="block">Checks that the subject has a <a href="https://developer.android.com/reference/android/text/style/BackgroundColorSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>BackgroundColorSpan</code></a> from <code>start</code> to <code>end</code>.

 <p>The color is asserted in a follow-up method call on the return <a href="SpannedSubject.Colored.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.Colored</code></a> object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start of the expected span.</dd>
<dd><code>end</code> - The end of the expected span.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="SpannedSubject.Colored.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.Colored</code></a> object to assert on the color of the matching spans.</dd>
</dl>
</li>
</ul>
<a id="hasNoBackgroundColorSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNoBackgroundColorSpanBetween</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;hasNoBackgroundColorSpanBetween&#8203;(int&nbsp;start,
                                            int&nbsp;end)</pre>
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/BackgroundColorSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>BackgroundColorSpan</code></a>s on any of the text between <code>
 start</code> and <code>end</code>.

 <p>This fails even if the start and end indexes don't exactly match.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start index to start searching for spans.</dd>
<dd><code>end</code> - The end index to stop searching for spans.</dd>
</dl>
</li>
</ul>
<a id="hasTypefaceSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasTypefaceSpanBetween</h4>
<pre class="methodSignature">@CheckResult
public&nbsp;<a href="SpannedSubject.Typefaced.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.Typefaced</a>&nbsp;hasTypefaceSpanBetween&#8203;(int&nbsp;start,
                                                       int&nbsp;end)</pre>
<div class="block">Checks that the subject has a <a href="https://developer.android.com/reference/android/text/style/TypefaceSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>TypefaceSpan</code></a> from <code>start</code> to <code>end</code>.

 <p>The font is asserted in a follow-up method call on the return <a href="SpannedSubject.Typefaced.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.Typefaced</code></a> object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start of the expected span.</dd>
<dd><code>end</code> - The end of the expected span.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="SpannedSubject.Typefaced.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.Typefaced</code></a> object to assert on the font of the matching spans.</dd>
</dl>
</li>
</ul>
<a id="hasNoTypefaceSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNoTypefaceSpanBetween</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;hasNoTypefaceSpanBetween&#8203;(int&nbsp;start,
                                     int&nbsp;end)</pre>
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/TypefaceSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>TypefaceSpan</code></a>s on any of the text between <code>start</code>
 and <code>end</code>.

 <p>This fails even if the start and end indexes don't exactly match.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start index to start searching for spans.</dd>
<dd><code>end</code> - The end index to stop searching for spans.</dd>
</dl>
</li>
</ul>
<a id="hasAbsoluteSizeSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasAbsoluteSizeSpanBetween</h4>
<pre class="methodSignature">@CheckResult
public&nbsp;<a href="SpannedSubject.AbsoluteSized.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.AbsoluteSized</a>&nbsp;hasAbsoluteSizeSpanBetween&#8203;(int&nbsp;start,
                                                               int&nbsp;end)</pre>
<div class="block">Checks that the subject has a <a href="https://developer.android.com/reference/android/text/style/AbsoluteSizeSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>AbsoluteSizeSpan</code></a> from <code>start</code> to <code>end</code>.

 <p>The size is asserted in a follow-up method call on the return <a href="SpannedSubject.AbsoluteSized.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.AbsoluteSized</code></a> object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start of the expected span.</dd>
<dd><code>end</code> - The end of the expected span.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="SpannedSubject.AbsoluteSized.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.AbsoluteSized</code></a> object to assert on the size of the matching spans.</dd>
</dl>
</li>
</ul>
<a id="hasNoAbsoluteSizeSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNoAbsoluteSizeSpanBetween</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;hasNoAbsoluteSizeSpanBetween&#8203;(int&nbsp;start,
                                         int&nbsp;end)</pre>
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/AbsoluteSizeSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>AbsoluteSizeSpan</code></a>s on any of the text between <code>
 start</code> and <code>end</code>.

 <p>This fails even if the start and end indexes don't exactly match.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start index to start searching for spans.</dd>
<dd><code>end</code> - The end index to stop searching for spans.</dd>
</dl>
</li>
</ul>
<a id="hasRelativeSizeSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasRelativeSizeSpanBetween</h4>
<pre class="methodSignature">@CheckResult
public&nbsp;<a href="SpannedSubject.RelativeSized.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.RelativeSized</a>&nbsp;hasRelativeSizeSpanBetween&#8203;(int&nbsp;start,
                                                               int&nbsp;end)</pre>
<div class="block">Checks that the subject has a <a href="https://developer.android.com/reference/android/text/style/RelativeSizeSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>RelativeSizeSpan</code></a> from <code>start</code> to <code>end</code>.

 <p>The size is asserted in a follow-up method call on the return <a href="SpannedSubject.RelativeSized.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.RelativeSized</code></a> object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start of the expected span.</dd>
<dd><code>end</code> - The end of the expected span.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="SpannedSubject.RelativeSized.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.RelativeSized</code></a> object to assert on the size of the matching spans.</dd>
</dl>
</li>
</ul>
<a id="hasNoRelativeSizeSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNoRelativeSizeSpanBetween</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;hasNoRelativeSizeSpanBetween&#8203;(int&nbsp;start,
                                         int&nbsp;end)</pre>
<div class="block">Checks that the subject has no <a href="https://developer.android.com/reference/android/text/style/RelativeSizeSpan.html" title="class or interface in android.text.style" class="externalLink" target="_top"><code>RelativeSizeSpan</code></a>s on any of the text between <code>
 start</code> and <code>end</code>.

 <p>This fails even if the start and end indexes don't exactly match.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start index to start searching for spans.</dd>
<dd><code>end</code> - The end index to stop searching for spans.</dd>
</dl>
</li>
</ul>
<a id="hasRubySpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasRubySpanBetween</h4>
<pre class="methodSignature">@CheckResult
public&nbsp;<a href="SpannedSubject.RubyText.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.RubyText</a>&nbsp;hasRubySpanBetween&#8203;(int&nbsp;start,
                                                  int&nbsp;end)</pre>
<div class="block">Checks that the subject has a <a href="../../text/span/RubySpan.html" title="class in com.google.android.exoplayer2.text.span"><code>RubySpan</code></a> from <code>start</code> to <code>end</code>.

 <p>The ruby-text is asserted in a follow-up method call on the return <a href="SpannedSubject.RubyText.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.RubyText</code></a> object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start of the expected span.</dd>
<dd><code>end</code> - The end of the expected span.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="SpannedSubject.Colored.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.Colored</code></a> object to assert on the color of the matching spans.</dd>
</dl>
</li>
</ul>
<a id="hasNoRubySpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNoRubySpanBetween</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;hasNoRubySpanBetween&#8203;(int&nbsp;start,
                                 int&nbsp;end)</pre>
<div class="block">Checks that the subject has no <a href="../../text/span/RubySpan.html" title="class in com.google.android.exoplayer2.text.span"><code>RubySpan</code></a>s on any of the text between <code>start</code> and
 <code>end</code>.

 <p>This fails even if the start and end indexes don't exactly match.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start index to start searching for spans.</dd>
<dd><code>end</code> - The end index to stop searching for spans.</dd>
</dl>
</li>
</ul>
<a id="hasHorizontalTextInVerticalContextSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasHorizontalTextInVerticalContextSpanBetween</h4>
<pre class="methodSignature">public&nbsp;<a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.WithSpanFlags</a>&nbsp;hasHorizontalTextInVerticalContextSpanBetween&#8203;(int&nbsp;start,
                                                                                  int&nbsp;end)</pre>
<div class="block">Checks that the subject has an <a href="../../text/span/HorizontalTextInVerticalContextSpan.html" title="class in com.google.android.exoplayer2.text.span"><code>HorizontalTextInVerticalContextSpan</code></a> from <code>start</code>
 to <code>end</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start of the expected span.</dd>
<dd><code>end</code> - The end of the expected span.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="SpannedSubject.WithSpanFlags.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.WithSpanFlags</code></a> object for optional additional assertions on the flags.</dd>
</dl>
</li>
</ul>
<a id="hasTextEmphasisSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasTextEmphasisSpanBetween</h4>
<pre class="methodSignature">public&nbsp;<a href="SpannedSubject.EmphasizedText.html" title="interface in com.google.android.exoplayer2.testutil.truth">SpannedSubject.EmphasizedText</a>&nbsp;hasTextEmphasisSpanBetween&#8203;(int&nbsp;start,
                                                                int&nbsp;end)</pre>
<div class="block">Checks that the subject has an <a href="../../text/span/TextEmphasisSpan.html" title="class in com.google.android.exoplayer2.text.span"><code>TextEmphasisSpan</code></a> from <code>start</code> to <code>end</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start of the expected span.</dd>
<dd><code>end</code> - The end of the expected span.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="SpannedSubject.EmphasizedText.html" title="interface in com.google.android.exoplayer2.testutil.truth"><code>SpannedSubject.EmphasizedText</code></a> object for optional additional assertions on the flags.</dd>
</dl>
</li>
</ul>
<a id="hasNoTextEmphasisSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNoTextEmphasisSpanBetween</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;hasNoTextEmphasisSpanBetween&#8203;(int&nbsp;start,
                                         int&nbsp;end)</pre>
<div class="block">Checks that the subject has no <a href="../../text/span/TextEmphasisSpan.html" title="class in com.google.android.exoplayer2.text.span"><code>TextEmphasisSpan</code></a>s on any of the text between <code>
 start</code> and <code>end</code>.

 <p>This fails even if the start and end indexes don't exactly match.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start index to start searching for spans.</dd>
<dd><code>end</code> - The end index to stop searching for spans.</dd>
</dl>
</li>
</ul>
<a id="hasNoHorizontalTextInVerticalContextSpanBetween(int,int)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>hasNoHorizontalTextInVerticalContextSpanBetween</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;hasNoHorizontalTextInVerticalContextSpanBetween&#8203;(int&nbsp;start,
                                                            int&nbsp;end)</pre>
<div class="block">Checks that the subject has no <a href="../../text/span/HorizontalTextInVerticalContextSpan.html" title="class in com.google.android.exoplayer2.text.span"><code>HorizontalTextInVerticalContextSpan</code></a>s on any of the text
 between <code>start</code> and <code>end</code>.

 <p>This fails even if the start and end indexes don't exactly match.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - The start index to start searching for spans.</dd>
<dd><code>end</code> - The end index to stop searching for spans.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>
